commit报错 |
您所在的位置:网站首页 › hook failed › commit报错 |
husky > commit-msg (node v12.18.3) ⧗ input: 解决husky的bug ✖ subject may not be empty [subject-empty] ✖ type may not be empty [type-empty] ✖ found 2 problems, 0 warnings ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint husky > commit-msg hook failed (add --no-verify to bypass) 从github上拉取下来的项目,提交的时候总是报错如上。 查了很多资料,资料上说的有两种解决办法,两种都试过了,但是目前只有第一种生效了 原文请参考:https://blog.csdn.net/yy_onway/article/details/98627663 对于我来说,是最后一种方式生效了,即:git commit --no-verify -m "备注" |
今日新闻 |
点击排行 |
|
推荐新闻 |
图片新闻 |
|
专题文章 |
CopyRight 2018-2019 实验室设备网 版权所有 win10的实时保护怎么永久关闭 |